using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class Users_DTO
    {
        private int _id;

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }
        private string _userName;

        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

        private string _passWord;

        public string PassWord
        {
            get { return _passWord; }
            set { _passWord = value; }
        }

        private int _permistionId;

        public int PermistionId
        {
            get { return _permistionId; }
            set { _permistionId = value; }
        }
        public Users_DTO(string username, string password, int permistionid)
        {

            username = this.UserName;
            password = this.PassWord;
            permistionid = this.PermistionId;
        }
    }

    public class Permistion_DTO
    {
        private int _id;

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }

        private string _permistionName;

        public string PermistionName
        {
            get { return _permistionName; }
            set { _permistionName = value; }
        }
        public Permistion_DTO(string permistionname)
        {
            permistionname = this.PermistionName;
        }

    }
}
